package com.corp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author Keanu
 * @Date 2020/7/2 0002 17:13
 * @Version
 **/
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.corp"})
public class WebBffApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(WebBffApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        builder.sources(WebBffApplication.class);
        return super.configure(builder);
    }
}
